package com.custom.util

import android.content.Intent
import androidx.core.content.ContextCompat.startActivity

fun openActivity(mClass: Any) {
    startActivity(MiApplication.context, Intent(MiApplication.context, mClass as Class<*>), null)
}